<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
    <head>
        <th:block th:include="include :: header('通知公告详情')"/>
    </head>
    <body class="bg-white">
        <div class="container-div">
            <div class="row">
                <div class="col-sm-12">
                    <h1 class="text-center" th:text="${notice.noticeTitle}"></h1>
                </div>
                <div class="col-sm-12">
                    <div class="col-sm-6">
                        <h4 class="pull-left" th:text="'发布时间: ' +${#dates.format(notice.createTime, 'yyyy-MM-dd')}"></h4>
                    </div>
                    <div class="col-sm-6" th:each="dict : ${@dict.getType('sys_notice_type')}">
                        <h4 class="pull-right" th:text="'类型: '+${dict.dictLabel}" th:value="${dict.dictValue}" th:if="${dict.dictValue == notice.noticeType}"></h4>
                    </div>
                </div>
                <div class="col-sm-12" style="padding: 50px;" th:utext="${notice.noticeContent}"></div>
                <div class="col-sm-12">
                    <h4 class="pull-right" style="margin-right: 40px;margin-bottom: 50px;" th:text="'发布人: '+${notice.createBy}"></h4>
                </div>
            </div>
        </div>

        <th:block th:include="include :: footer"/>
    </body>
</html>